#pragma once
#include<iostream>
#include<string>
#include<time.h>

#define LOG(level,message) Log(#level,message,__FILE__,__LINE__)

void Log(std::string level, std::string message, std::string filename, size_t line)
{
  std::cerr << "[ " << level << " ]" <<"[ "<<time(nullptr) <<" ]"<< "[ " << message << " ]" << "[ " << filename <<" ]"  << "[ " << line << " ]" << std::endl;
}
